package mesweb.mesweb.service.impl.procedure;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.Procedure.MesProduceProcedureBranch;
import mesweb.mesweb.mapper.procedure.MesProduceProcedureBranchMapper;
import mesweb.mesweb.service.procedure.IMesProduceProcedureBranchService;
import mesweb.mesweb.vo.procecdure.MesProduceProcedureBranchVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 生产工序分支
 * @Author: jeecg-boot
 * @Date:   2021-06-26
 * @Version: V1.0
 */
@Service
public class MesProduceProcedureBranchServiceImpl extends ServiceImpl<MesProduceProcedureBranchMapper, MesProduceProcedureBranch> implements IMesProduceProcedureBranchService {

    @Autowired
    private MesProduceProcedureBranchMapper mesProduceProcedureBranchMapper;
    @Override
    public IPage<MesProduceProcedureBranchVo> getProduceProcedureBranch(Page page, QueryWrapper queryWrapper) {
        return mesProduceProcedureBranchMapper.getProduceProcedureBranch(page,queryWrapper);
    }

    @Override
    public List<MesProduceProcedureBranchVo> getProduceProcedureBranch(QueryWrapper queryWrapper) {
        return mesProduceProcedureBranchMapper.getProduceProcedureBranch(queryWrapper);
    }
}
